<?php

//===============================
// Center

switch($option) {
    case "add"  : {
            addNewNews();
            $class_adv_add = 'class="active"';
            include "adv_add.php";
            break;
    }case "edit": {
            include "adv_edit.php";
            break;
    }case "del": {
            deleteNews();
            $class_adv_list = 'class="active"';
            include "adv_list.php";
            break;
    }case "multiAction": {
            multiActionNews();
            $class_adv_list = 'class="active"';
            include "adv_list.php";
            break;
    }default        : {
            $class_adv_list = 'class="active"';
            include "adv_list.php";
            break;
        }
}
?>